package com.cx.simpleweb.filter;

import org.springframework.security.web.access.intercept.FilterSecurityInterceptor;
import org.springframework.security.web.util.matcher.RequestMatcher;

/**
 * @author cxx
 * @create 2021-01-13 16:30
 **/
public class GateWayFilter extends FilterSecurityInterceptor {

    private RequestMatcher requestMatcher;

    public GateWayFilter(RequestMatcher requestMatcher) {
        this.requestMatcher = requestMatcher;
    }


    public RequestMatcher getRequestMatcher() {
        return requestMatcher;
    }
}
